using Gee;
using SDL;

class World : Object {
	
	public Window window { get; protected set; }
	public Rectangle dimensions { get; protected set; }
	public ArrayList<Layer> layers = new ArrayList<Layer>();
	public KeySynthesizer key_synthesizer { get; protected set; }

	public void render(Screen surface) {
		foreach (Layer layer in this.layers) {
			layer.render(surface);
		}
	}

	public World(Window window) {
		this.window = window;
		this.key_synthesizer = new KeySynthesizer(32, this.window);
	}

}

